package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.nursing.domain.CheckInConfig;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class CheckInConfigVo extends CheckInConfig {

    private Long id;
    private Long checkInId;
    private Long nursingLevelId;
    private String nursingLevelName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feeStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime feeEndDate;

    private BigDecimal deposit;        // 押金
    private BigDecimal nursingFee;     // 护理费
    private BigDecimal bedFee;         // 床位费
    private BigDecimal insurancePayment; // 保险支付
    private BigDecimal governmentSubsidy; // 政府补贴
    private BigDecimal otherFees;      // 其他费用

    private Integer sortOrder;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;

    private String bedNumber;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String remark; // 存储家属 JSON



}
